FROM java:8
ADD  mall-gateway/target/mall-gateway-1.0-SNAPSHOT.jar //
ENTRYPOINT ["java", "-jar","-server","-XX:+HeapDumpOnOutOfMemoryError","-XX:HeapDumpPath=/var/logs/mall-gateway-gc.heap ","/mall-gateway-1.0-SNAPSHOT.jar"]
